SRCS = loader.c payload.S
NAME = loader

# Note that the loader should be linked to the start address of flash.
# You should modify your linking option if you want to build the loader yourself.
# Then modify BIN_PATH to a binary starting at 0x80000000
BIN_PATH =/home/axe/WorkSpace/Rena/sw/kernel/hello/build/hello.txt
ASFLAGS += -DBIN_PATH=\"$(BIN_PATH)\"

include $(RISCV64_SDK_RENA_HOME)/Makefile
START_ADDR=0x30000000

payload.S: $(BIN_PATH)
	touch $@

.PHONY: payload.S
